import request from '@/utils/request'

export function uploadPic(data) {
  return request({
    url: '/juanbusiness/file-upload/upload',
    method: 'post',
    data
  })
}

export function getPic(saveImage) {
  return request({
    url: '/juanbusiness/file-upload/get',
    method: 'get',
    params: { saveImage: saveImage }
  })
}
